package com.alisls.shequtao.service.goods.api;

import com.alisls.shequtao.service.goods.dto.GoodsDTO;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 商品接口
 *
 * @author Ke Wang
 */
@RequestMapping("/service-product/goods")
public interface GoodsApi {

    @GetMapping("/getGoodsBySpuId/{spuId}")
    GoodsDTO getGoodsBySpuId(@PathVariable("spuId") Long spuId);

}
